package cn.talkimages.web.admin.service;

import java.io.File;
import java.util.List;
import java.util.Map;

import cn.talkimages.web.beans.ImageBean;

public interface ImageService {

	/**
	 * 登录图片信息
	 * 
	 * @param imageBaseInfo
	 * @param imageRelFile
	 */
	void insertImages(ImageBean imageBaseInfo, File imageRelFile)
			throws Exception;

	/**
	 * 取得图片信息列表
	 * 
	 * @param params
	 * @param pageNo
	 * @param pageSize
	 * @return List<ImageBean>
	 * @throws Exception
	 */
	List<ImageBean> getImageInfos(Map<String, Object> params, Integer pageNo, Integer pageSize)
			throws Exception;

}
